<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<title>Ingresa a Edukometro</title>
	<meta name="content-type" content="text/html; charset=UTF-8" />
	<link REL="SHORTCUT ICON"
		href="#{facesContext.externalContext.request.scheme}://#{facesContext.externalContext.request.serverName}:#{facesContext.externalContext.request.serverPort}#{facesContext.externalContext.request.contextPath}/images/favicon-16x16.png" />
	<link rel="stylesheet" type="text/css"
		href="#{facesContext.externalContext.request.scheme}://#{facesContext.externalContext.request.serverName}:#{facesContext.externalContext.request.serverPort}#{facesContext.externalContext.request.contextPath}/css/bootstrap.min.css" />
	<link rel="stylesheet" type="text/css"
		href="#{facesContext.externalContext.request.scheme}://#{facesContext.externalContext.request.serverName}:#{facesContext.externalContext.request.serverPort}#{facesContext.externalContext.request.contextPath}/css/stylelogin.css" />
</h:head>
<h:body>
	<div class="container">
		<h:form id="loginForm" name="loginForm" class="form-signin">
			<p:growl id="mensajesLogin" life="2000" />
			<h2 class="form-signin-heading">Log In Edukometro</h2>
			<h:outputLabel value="Usuario:" />
			<p:inputText id="txtUsuario" binding="#{loginView.txtUsuario}"
				name="Usuario" type="text" placeholder=" usuario"
				class="form-control" />
			<br />
			<h:outputLabel value="Contraseña:" />
			<p:inputText id="txtContraseña" binding="#{loginView.txtContraseña}"
				name="Contraseña" type="password" placeholder=" contraseña"
				class="form-control" />

			<p:commandButton value="Ingresar" id="btnIngresar"
				action="#{loginView.ingresar}" update="mensajesLogin" />
		</h:form>
		<div align="center">
			<h3 class="form-signin-heading" />
		</div>

	</div>
</h:body>
</html>